package kaist.sep502.tsp.intro;

import kaist.sep502.tsp.view.CityMapView;

import org.eclipse.ui.IPageLayout;
import org.eclipse.ui.IPerspectiveFactory;

public class Perspective implements IPerspectiveFactory {

	public void createInitialLayout(IPageLayout layout) {
		layout.setEditorAreaVisible(false);
		layout.setFixed(true);
		
		String editorArea = layout.getEditorArea();
		layout.addView(IPageLayout.ID_OUTLINE, IPageLayout.LEFT, 0.25f, editorArea);
		layout.addView(CityMapView.ID, IPageLayout.RIGHT, 0.75f, editorArea);
	}
}
